package com.pen.changgou.goods.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pen.changgou.goods.entity.Brand;
import com.pen.changgou.goods.mapper.BrandMapper;
import com.pen.changgou.goods.service.BrandService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author YaoDao
 * @version 1.0
 * @Description
 * @date 2020/11/25 0:44
 */
@Slf4j
@Service
public class BrandServiceImpl extends ServiceImpl<BrandMapper, Brand> implements BrandService {



    @Override
    public List<Brand> findBrandByCategoryId(Long categoryId) {
        return baseMapper.findBrandByCategoryId(categoryId);
    }
}
